package com.zhijiang.hospital.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zhijiang.hospital.entity.MedicalTechnollogy;
import com.zhijiang.util.BaseQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@DS("his")
public interface OutpatientExaminationsMapper {
    List<MedicalTechnollogy> getList(@Param("baseQuery") BaseQuery baseQuery);

    String getHospitalizationCount(@Param("baseQuery") BaseQuery baseQuery, @Param("dept") String dept);

    List<MedicalTechnollogy> findWeekData(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<MedicalTechnollogy> getYearData(String startTime, String endTime);
}
